Calculate columns

Purpose of this building block

The Calculate columns building block allows you to perform calculations or conversions on existing values. Thereby create new columns for values you are interested in.

Possible use cases

  • Calculate the total column by multiplying quantity and price

Configuration

Reload

Click on the reload icon to scan the Google Form for modified, added or removed fields.

After adding the script to your flow, click on the keyboard icon in the input parameter section.

mapRowsForm.png

Useful combinations

Example: If your table contains a column called amount which holds the amount in cents and you want to convert it to dollar, you'll have to divide the amount by 100. You then want to create a new column called total by multiplying the amount with the quantity. You can perform both operations using the following expression:

row.amount = row.amount / 100; row.total = row.amount * row.quantity

Questions and Feedback

If you have any comments on this guide, feel free to add them right to the Google document that we are using to create this site.

If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.

Last Updated:

Share on Google+Share on FacebookShare on TwitterShare on LinkedIn